package com.demo.study.thread;

/**
 * @author leiliang
 * @version 1.0
 * @Description
 * @date 2021/1/5 15:56
 */
public class Thread001 extends Thread {

    @Override
    public void run() {
        System.out.printf(Thread.currentThread().getName()+"我是子线程");
    }

    public static void main(String[] args) {
        System.out.printf("我是主线程");
        new Thread001().start();
    }
}
